﻿<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
    <script src="~/Content/js/Echart/jquery-1.10.2.min.js"></script>
    <script src="~/Content/js/Echart/echarts.js"></script><!--Echart引用-->
    <script src="~/Content/js/chart.js"></script>
    <script type="text/javascript">
        $(function () {
            GetChart("bar", "/Echart/GetEchartData", "bar", "测试统计");
            GetChart("line", "/Echart/GetEchartData", "line", "测试统计");
            GetChart("pie", "/Echart/GetEchartData", "pie", "测试统计");
        });
    </script>

</head>
<body>
    <div>
        <!-- 为 ECharts 准备一个具备大小（宽高）的 DOM -->
        <div id="bar" style="width: 100%; height: 600px;"></div>
        <div style="width: 100%; border-bottom: 1px dashed #00bfff; height: 1px;"></div>
        <div id="line" style="width: 100%; height: 600px;"></div>
        <div style="width: 100%; border-bottom: 1px dashed #00bfff; height: 1px;"></div>
        <div id="pie" style="width: 100%; height: 600px;"></div>

    </div>
</body>
</html>
